Update Run Property

Updates the name of an existing run property identified by its PID.

PUT{accelqLoginUrl}/awb/api/2.0/{tenantCode}/{projectCode}/res/run-property/{runPropertyPid}

Headers

HeaderValue
user_idLogin username (email)
api_keyAPI key of the user for authentication
Content-Typeapplication/json
Acceptapplication/json

Parameters

ParameterTypeRequiredDescription
accelqLoginUrlstringYesThe AccelQ login URL for API access.
tenantCodestringYesTenant code for identifying the organization.
projectCodestringYesProject Code found under Auth properties of ACCELQ User Profile
runPropertyPidintegerYesRun Property pid for which to update the name.
user_idstringYesLogin username (email)
api_keystringYesAPI key of the user for authentication

Request Body

json
{
  "name": "New Run Property"
}

Responses

201 - Run Property successfully created.

json
{
  "pid": 15754,
  "name": "New Run Property",
  "createdUser": 2,
  "createdTimestamp": 1730801799833,
  "lastModifiedUser": 5,
  "lastModifiedTimestamp": 1746801799833
}

400 - Bad Request. Validation errors occurred.

json
{
  "error": "Run Property name is required."
}

403 - Forbidden - User does not have permission to create Run Property.

json
{
  "error": "User do not have authorization to access this feature."
}

422 - Project not found.

json
{
  "error": "Project with code 'proj123' not found."
}

cURL Command Builder

URL Parameters

Headers

Request Sample (cURL)

curl -X PUT "${{accelqLoginUrl}}/awb/api/2.0/${{tenantCode}}/${{projectCode}}/res/run-property/${{runPropertyPid}}" \
  -H "user_id: ${{user_id}}" \
  -H "api_key: ${{api_key}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
  "name": "New Run Property"
}'